package com.servlet;

import com.Dao.CountDao;
import com.bean.Student;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @author gaomj
 * @data 2022/12/16 14:06
 */
@WebServlet("/CountInfo")
public class CountInfo extends HttpServlet {
//    @Override
//    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
//        CountDao countDao=new CountDao();
//        List<Student> StudentList = null;
//        try {
//            StudentList = countDao.querytwo();
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
}
